import request from '@/utils/request';

// 升级弹框
export async function upInfo() {
  return request('/bff-eam/upgradePush/upInfo', {
    method: 'get',
  });
}

// 公告
export async function getNoticeMessageInfo(param) {
  return request('/bff-eam/upgradePush/getMessageInfo', {
    method: 'post',
    data: param,
  });
}

// 关闭公告
export async function closeMessage(data) {
  return request('/bff-eam/upgradePush/closeMessage', {
    method: 'post',
    data,
  });
}

// 三种人权限查询
export async function personPageList(data) {
  return request('/eam-org/personPower/personPageList', {
    method: 'post',
    data,
  });
}

// 三种人筛选查询
export async function personPageGroup(data) {
  return request('/eam-org/personPower/personPageGroup', {
    method: 'post',
    data,
  });
}
